package com.zyao89.view.zweb.impl;


import com.zyao89.view.zweb.inter.IZWebHandler;
import com.zyao89.view.zweb.inter.IZWebOnSpecialStateListener;
import com.zyao89.view.zweb.utils.ZLog;
import ohos.agp.components.webengine.ResourceResponse;

/**
 * @author Zyao89
 * 2017/11/8.
 */
public class DefaultZWebOnSpecialStateListener implements IZWebOnSpecialStateListener {
    @Override
    public void onZWebReceivedTitle(IZWebHandler zWebHandler, String title) {
        ZLog.with(this).z("onZWebReceivedTitle ==> title：" + title);
    }

    @Override
    public ResourceResponse onInterceptRequest(IZWebHandler zWebHandler, String url) {
        ZLog.with(this).z("onInterceptRequest: " + url);
        return null;
    }
}
